package com.zxh.project.areachooseapplication;

import java.util.List;

/**
 * @author ZhaoXH on 2017/9/9.
 */

public class AreaDataEntity {
    /**
     * data : [{"region_id":"1","region_name":"中国","child":[{"region_id":"2","region_name":"北京","child":[{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"503","region_name":"和平区"}]}]},{"region_id":"3","region_name":"河北","child":[{"region_id":"62","region_name":"石家庄","child":[{"region_id":"600","region_name":"长安区"},{"region_id":"601","region_name":"新华区"},{"region_id":"603","region_name":"藁城区"}]}]}]}]
     * StatusBean : {"succeed":1}
     */

    private StatusBeanBean StatusBean;
    private List<DataBean> data;

    public StatusBeanBean getStatusBean() {
        return StatusBean;
    }

    public void setStatusBean(StatusBeanBean StatusBean) {
        this.StatusBean = StatusBean;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class StatusBeanBean {
        /**
         * succeed : 1
         */

        private int succeed;

        public int getSucceed() {
            return succeed;
        }

        public void setSucceed(int succeed) {
            this.succeed = succeed;
        }
    }

    public static class DataBean {
        /**
         * region_id : 1
         * region_name : 中国
         * child : [{"region_id":"2","region_name":"北京","child":[{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"503","region_name":"和平区"}]}]},{"region_id":"3","region_name":"河北","child":[{"region_id":"62","region_name":"石家庄","child":[{"region_id":"600","region_name":"长安区"},{"region_id":"601","region_name":"新华区"},{"region_id":"603","region_name":"藁城区"}]}]}]
         */

        private String region_id;
        private String region_name;
        private List<ChildBeanXX> child;

        public String getRegion_id() {
            return region_id;
        }

        public void setRegion_id(String region_id) {
            this.region_id = region_id;
        }

        public String getRegion_name() {
            return region_name;
        }

        public void setRegion_name(String region_name) {
            this.region_name = region_name;
        }

        public List<ChildBeanXX> getChild() {
            return child;
        }

        public void setChild(List<ChildBeanXX> child) {
            this.child = child;
        }

        public static class ChildBeanXX {
            /**
             * region_id : 2
             * region_name : 北京
             * child : [{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"503","region_name":"和平区"}]}]
             */

            private String region_id;
            private String region_name;
            private List<ChildBeanX> child;

            public String getRegion_id() {
                return region_id;
            }

            public void setRegion_id(String region_id) {
                this.region_id = region_id;
            }

            public String getRegion_name() {
                return region_name;
            }

            public void setRegion_name(String region_name) {
                this.region_name = region_name;
            }

            public List<ChildBeanX> getChild() {
                return child;
            }

            public void setChild(List<ChildBeanX> child) {
                this.child = child;
            }

            public static class ChildBeanX {
                /**
                 * region_id : 52
                 * region_name : 北京
                 * child : [{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"},{"region_id":"503","region_name":"和平区"}]
                 */

                private String region_id;
                private String region_name;
                private List<ChildBean> child;

                public String getRegion_id() {
                    return region_id;
                }

                public void setRegion_id(String region_id) {
                    this.region_id = region_id;
                }

                public String getRegion_name() {
                    return region_name;
                }

                public void setRegion_name(String region_name) {
                    this.region_name = region_name;
                }

                public List<ChildBean> getChild() {
                    return child;
                }

                public void setChild(List<ChildBean> child) {
                    this.child = child;
                }

                public static class ChildBean {
                    /**
                     * region_id : 500
                     * region_name : 东城区
                     */

                    private String region_id;
                    private String region_name;

                    public String getRegion_id() {
                        return region_id;
                    }

                    public void setRegion_id(String region_id) {
                        this.region_id = region_id;
                    }

                    public String getRegion_name() {
                        return region_name;
                    }

                    public void setRegion_name(String region_name) {
                        this.region_name = region_name;
                    }
                }
            }
        }
    }
    /**
     * data : [{"region_id":"1","region_name":"中国","child":[{"region_id":"2","region_name":"北京","child":[{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"}]}]}]}]
     * StatusBean : {"succeed":1}
     */

//    private StatusBeanBean StatusBean;
//    private List<DataBean> data;
//
//    public StatusBeanBean getStatusBean() {
//        return StatusBean;
//    }
//
//    public void setStatusBean(StatusBeanBean StatusBean) {
//        this.StatusBean = StatusBean;
//    }
//
//    public List<DataBean> getData() {
//        return data;
//    }
//
//    public void setData(List<DataBean> data) {
//        this.data = data;
//    }
//
//    public static class StatusBeanBean {
//        /**
//         * succeed : 1
//         */
//
//        private int succeed;
//
//        public int getSucceed() {
//            return succeed;
//        }
//
//        public void setSucceed(int succeed) {
//            this.succeed = succeed;
//        }
//    }
//
//    public static class DataBean {
//        /**
//         * region_id : 1
//         * region_name : 中国
//         * child : [{"region_id":"2","region_name":"北京","child":[{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"}]}]}]
//         */
//
//        private String region_id;
//        private String region_name;
//        private List<ChildBeanXX> child;
//
//        public String getRegion_id() {
//            return region_id;
//        }
//
//        public void setRegion_id(String region_id) {
//            this.region_id = region_id;
//        }
//
//        public String getRegion_name() {
//            return region_name;
//        }
//
//        public void setRegion_name(String region_name) {
//            this.region_name = region_name;
//        }
//
//        public List<ChildBeanXX> getChild() {
//            return child;
//        }
//
//        public void setChild(List<ChildBeanXX> child) {
//            this.child = child;
//        }
//
//        public static class ChildBeanXX {
//            /**
//             * region_id : 2
//             * region_name : 北京
//             * child : [{"region_id":"52","region_name":"北京","child":[{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"}]}]
//             */
//
//            private String region_id;
//            private String region_name;
//            private List<ChildBeanX> child;
//
//            public String getRegion_id() {
//                return region_id;
//            }
//
//            public void setRegion_id(String region_id) {
//                this.region_id = region_id;
//            }
//
//            public String getRegion_name() {
//                return region_name;
//            }
//
//            public void setRegion_name(String region_name) {
//                this.region_name = region_name;
//            }
//
//            public List<ChildBeanX> getChild() {
//                return child;
//            }
//
//            public void setChild(List<ChildBeanX> child) {
//                this.child = child;
//            }
//
//            public static class ChildBeanX {
//                /**
//                 * region_id : 52
//                 * region_name : 北京
//                 * child : [{"region_id":"500","region_name":"东城区"},{"region_id":"501","region_name":"西城区"}]
//                 */
//
//                private String region_id;
//                private String region_name;
//                private List<ChildBean> child;
//
//                public String getRegion_id() {
//                    return region_id;
//                }
//
//                public void setRegion_id(String region_id) {
//                    this.region_id = region_id;
//                }
//
//                public String getRegion_name() {
//                    return region_name;
//                }
//
//                public void setRegion_name(String region_name) {
//                    this.region_name = region_name;
//                }
//
//                public List<ChildBean> getChild() {
//                    return child;
//                }
//
//                public void setChild(List<ChildBean> child) {
//                    this.child = child;
//                }
//
//                public static class ChildBean {
//                    /**
//                     * region_id : 500
//                     * region_name : 东城区
//                     */
//
//                    private String region_id;
//                    private String region_name;
//
//                    public String getRegion_id() {
//                        return region_id;
//                    }
//
//                    public void setRegion_id(String region_id) {
//                        this.region_id = region_id;
//                    }
//
//                    public String getRegion_name() {
//                        return region_name;
//                    }
//
//                    public void setRegion_name(String region_name) {
//                        this.region_name = region_name;
//                    }
//                }
//            }
//        }
//    }


}
